﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Controls_Reports_AccountFanStats : System.Web.UI.UserControl
{
	public BO.Account Account { get; set; }
    protected void Page_Load(object sender, EventArgs e)
    {
		if (!IsPostBack)
			LoadData();
    }

	private void LoadData()
	{		
		lblFbFans.Text = Account.FbPageFanNum.ToString();
		lblTwFollowers.Text = Account.TwFollowersNum.ToString();
		amLine.ExternalDataFileUrl = "/Service/websiteservice.asmx/AccountTimeLine?ID=" + Account.ID.ToString();
	}
}